Communications apparatus, communications system, and method of setting certificate

ABSTRACT

An apparatus for communicating, including communicating means, enabled to communicate with communications counterparties via the communicating means is disclosed. The communicating means includes means for providing an individual certificate and storage areas for storing individual and common certificates.

TECHNICAL FIELD

The present invention generally relates to a technology forcommunicating and more specifically relates to a communicationsapparatus provided with communicating means and enabled to communicatewith a communications counterparty with the communicating means, acommunications system provided with a low-level apparatus as such acommunications apparatus and a high-level apparatus to be thecommunications counterparty, and a method of setting a certificate intosuch a communications apparatus.

BACKGROUND ART

Up to now, connecting multiple communications apparatuses, each of whichis provided with a communications function, to enable communicating viaa network and building various systems have been carried out. As anexample, there is a so-called electronic commerce system such thatorders for products are transmitted from a computer such as a PC whichfunctions as a client apparatus and those orders are received in aserver apparatus enabled to communicate with this client apparatus overthe Internet. Moreover, a system is being proposed such that each of thevarious electronic apparatuses is made to have a function of the clientapparatus or the server apparatus so as to be connected via a network,and remote control of the electronic apparatuses is performed by meansof mutual communications.

In building such a system, it is important to confirm whencommunicating, for instance, whether the communications counterparty isappropriate, or whether information having been transmitted is beingmanipulated. Moreover, especially when communicating over the Internet,there is also a demand for making sure that, when transmittingconfidential information, the contents are not viewed stealthily, as theinformation often passes through unrelated computers before reaching thecommunications counterparty. Then, as a communication protocol thatresponds to such a demand, for example, a protocol called SSL (SecureSocket Layer) has been developed and is being widely used. Communicatingusing this protocol enables combining a public-key encrypting method anda common-key encrypting method, authenticating the communicationscounterparty, as well as preventing manipulating and eavesdropping bymeans of encrypting the information. Moreover, also at thecommunications-counterparty side, authenticating an apparatus of acommunications source having requested communications is enabled.

As technologies related to such authentication using the SSL and thepublic-key encrypting, there are, for example, those as described in thePatent Documents 1 and 2.

Patent Document 1

JP 2002-353959A

Patent Document 2

JP 2002-251492A

Herein, a procedure for communicating when performing mutualauthentication according to this SSL is described, focusing on anauthentication process. FIG. 18 is a flowchart of a process for eachapparatus when a communications apparatus A and a communicationsapparatus B are performing mutual authentication according to the SSL,together with information used in the process.

As illustrated in FIG. 18, when performing mutual authenticationaccording to the SSL, it is necessary to have stored in bothcommunications apparatuses a root-key certificate, a private key and apublic-key certificate. This private key is a private key that is issuedto each apparatus by a CA (Certificate Authority), and the public-keycertificate is one which the CA has provided as a digital certificate asthe CA affixes a digital signature to a public key corresponding to theprivate key so as to be made a digital certificate. Moreover, theroot-key certificate is one which the CA has provided as a digitalcertificate with a root key corresponding to a private root-key that theCA has used for the digital signature so as to be made a digitalcertificate.

FIGS. 19A and 19B illustrate a relationship among these keys.

As illustrated in FIG. 19A, a public key A is configured with a keymain-body for decrypting a document encrypted using a private key A, andbibliographical information including information on a source (CA) ofthe public key and an expiry date, etc. Then, the CA, in order toindicate that the key main-body and the bibliographical information arenot manipulated, has a hash value obtained by hashing the public key Aencrypted using the private root-key for providing to a clientpublic-key as a digital signature. Moreover at this time, identifyinginformation identifying the private root-key is added as signing-keyinformation to bibliographical information on the public key A. Then,the public-key certificate being provided this digital signature is apublic-key certificate A.

When using this public-key certificate A for an authentication process,the digital signature included therein is decrypted using a keymain-body of the root key as a public key corresponding to the privateroot-key. When this decrypting is performed successfully, it is knownthat the digital signature surely has been provided by the CA. Moreover,when the hash value obtained by hashing a part of the public key A, andthe hash value obtained by decrypting match, it is known that the keymain-body also has not been damaged or manipulated. Furthermore, whenthe received data can be decrypted successfully using this public key A,it is known that the data are those transmitted from a holder of theprivate key A.

Herein, in order to perform an authentication, while it is necessary tostore a root key in advance, this root key, as illustrated in FIG. 19B,is also made to be stored as a root-key certificate with the CA havingprovided the digital signature. This root-key certificate is in a formof a self-signature such that decrypting of a digital signature with apublic key contained in the certificate itself is enabled. Then, whenusing the root key, the digital signature is decrypted by using the keymain-body included in the root-key certificate for comparing with thehash value obtained by hashing the root key. When these are matched, itis confirmed that the root key is not damaged, etc.

The flowchart in FIG. 18 is now described. It is noted that, in FIG. 18,with arrows between two flowcharts denoting data transfer, thetransmitting side performs a transfer process in a step originating thearrow, and the receiving side, once receiving the information, performsa process in a step to which the arrow points. Moreover, when theprocess in each step is not successfully completed, a responseindicating an unsuccessful authentication is returned at that time so asto suspend the process. The same applies when the response indicatingthe unsuccessful authentication is received from the communicationscounterparty, or when a timeout of the process is reached, etc.

Herein, assuming that a communications apparatus A requestscommunications with a communications apparatus B, when performing therequest, a CPU of the communications apparatus A executing requiredcontrol programs starts the process in the flowchart illustrated at theleft in FIG. 18. Then, in Step S11, a connection request is transmittedto the communications apparatus B.

On the other hand, a CPU of the communications terminal B, oncereceiving the connection request, executing required control programs,starts the process in the flowchart illustrated at the right in FIG. 18.Then, in Step S21 a first random number is generated for encryptingusing a private key B. Then, in Step S22 the encrypted first randomnumber and a public-key certificate B are transmitted to thecommunications apparatus A.

At the communications apparatus A side, once receiving this, Step S12confirms the validity of the public-key certificate B using a root-keycertificate.

Then once having confirmed validity, in Step S13, the first randomnumber is decrypted using a public key B included in the receivedpublic-key certificate B. When the decrypting is successful, confirmingthat the first random number has surely been received from a subject ofissuance of the public-key certificate B is enabled.

Subsequently, in Step S14 further a second random number and acommon-key seed are generated. The common-key seed may be generated, forexample, based on data transacted in prior communications. Then, in StepS15 the second random number is encrypted using a private key A, and thecommon-key seed is encrypted using the public key B, for transmittingthese along with a public-key certificate A to a server apparatus. Theencrypting of the common-key seed is performed in order to make surethat the common-key seed is not known to an apparatus other then thecommunications counterparty.

Moreover, in the next Step S17, a common key for use in encryptingsubsequent communications is generated from the common-key seedgenerated in Step S14.

At the communications apparatus B side, once receiving data having beentransmitted in Step S16 from the communications apparatus A, in Step S23the validity of the public-key certificate A is confirmed using aroot-key certificate. Then once confirmed, in Step S24, the secondrandom number is decrypted using the public key A included in thereceived public-key certificate A. When the decrypting is successfulherein, confirming that the second random number is surely received froma subject of issuance of the public-key certificate A is enabled.

Subsequently, in Step S25 the common-key seed is decrypted using aprivate key B. In the processes thus far, the common-key seed has beenshared at the communications apparatus A side and at the communicationsapparatus B side. Then, the common-key seed does not become known to anapparatus other than the communications apparatus A having generated theseed and the communications apparatus B having the private key B. Whenthe processes thus far are successful, also at the communicationsapparatus B side in Step S26, a common key for use in encryptingsubsequent communications is generated from the common-key seed obtainedin the decrypting.

Then, once the processes of Step S17 at the communications apparatus Aside and Step S26 at the communications apparatus B side are completed,a success of authentication and an encrypting method for use insubsequent communications are mutually confirmed and the processregarding the authentication is terminated assuming that subsequentcommunications are performed with the encrypting method using the commonkey generated. It is noted that, in this confirmation, a response fromthe communications apparatus B that an authentication has succeeded isalso included. The processes as described above enable mutualestablishing of communications, and, subsequently, encrypting of data bymeans of a common-key encrypting method, using the common key generatedin Step S17 or S26 so as to perform the communications.

Performing such processes enables the communications apparatuses A and Bto securely share a common key and to establish a route forcommunicating securely.

It is to be noted that, in the processes as described above, it is notmandatory to encrypt the second random number with the public key A, andto transmit the public-key certificate A to the communications apparatusB. In this case, the processes of Steps S23 and S24 at thecommunications apparatus B side are not needed so that the processbecomes as illustrated in FIG. 20. In such a way, while thecommunications apparatus B cannot authenticate the communicationsapparatus A, this process is sufficient when only the communicationsapparatus A authenticating the communications apparatus B suffices. Thenin this case, it is necessary to have only the root-key certificate, andnot the private key A and the public-key certificate A, stored in thecommunications apparatus A. Moreover, it is not necessary to have theroot-key certificate stored in the communications apparatus B.

Now, when performing the authentication process as described above, twolevels are possible for the authentication criteria. A first leveldetermines whether equipment of a communications counterparty fulfillscertain criteria such as whether it is supplied from the same vendor, orwhether it has passed a certain test, whereas a second level specifiesan individual equipment unit of the communications counterparty.

Then, when performing the first-level authentication, it suffices tohave a common set of a public-key certificate and a private key storedin equipment fulfilling certain criteria, to use the stored common setto perform the authentication at the time of SSL communications and forthe communications counterparty to be able to confirm as surely that itis an apparatus of issuance of the public-key certificate. Therefore,there is no need to replace equipment-specific identifying information(ID), etc.

Moreover, even when performing the second level authentication, it ispossible that, after establishing a secure communications route using,for example, the same key as in the case of the first-levelauthentication as described above, an ID is made to be transmitted inorder to specify a communications counterparty, for use in theauthentication.

Herein, when operating a communications system for having communicationsconducted between communications apparatuses, in case it is envisionedthat there is to be no operator near the apparatuses, there is a demandsuch that specifying of an apparatus is performed with thecommunications. Then, in order to fulfill such a demand, a mechanism forguaranteeing that the apparatus specified with the communications issurely the apparatus is needed. In other words, the second-levelauthentication as described above is needed.

However, in the method as described above such that after the securecommunications route is established the ID is made to be transmitted soas. to specify the communications counterparty, a need arises toseparately manage the ID with an application from the authenticationprocess according to the SSL.

Moreover, when the common public-key certificate and the private key areleaked, a third party having obtained the leaked information maydisguise itself as any equipment having a detectable ID, seriouslycompromising the security of the communications. Then in this case, thesecurity of the communications cannot be recovered unless keys of allequipment units are updated, the task requiring a great deal of effort.

Then, in order to solve this issue, a public-key certificate and aprivate key are issued per apparatus, and information identifying theapparatus is provided in bibliographical information of the public-keycertificate, such that when confirming the validity of the public-keycertificate the identifying information having been included in thebibliographical information is referred to so as to confirm that acounterparty having transmitted the certificate (a subject apparatus ofissuance of the certificate) is an appropriate communicationscounterparty. In such a case, as a different pair of the public-keycertificate and the private key is made to be stored for each apparatus,even when a key of one equipment unit is leaked, the third partydisguising is possible only as the one equipment unit, and when the keyof the one equipment unit is updated, maintaining the communicationsagain in a secure state is enabled.

Now, when authenticating an apparatus, as a matter of course anauthentication that specifies the apparatus is needed, which isdifferent from authentication that specifies an operator of a Webbrowser, etc. Thus, while there is a need to have a digital certificatestored in advance in the apparatus, when a component storing the digitalcertificate is replaced, the digital certificate ends up being droppedwith the component. Thus, the authentication of the apparatus cannot beperformed. Therefore, when using a public-key certificate provided withinformation identifying an apparatus, a problem would occur when a needarises to replace a component storing the digital certificate due todamage or a failure, etc.

Although there is no problem when the digital certificate is still beingstored in a replaced component, it is not desirable that identifyinginformation for use in the replacing component be changed, in order tospecify an equipment unit or a user. However, in order to have apublic-key certificate provided in the replacing component with the sameidentifying information as the replaced component, informationidentifying an apparatus to be receiving the replacing component at thetime of manufacturing is needed, making it impossible to have in advancea component ready to be the replacing component having recorded a newpublic-key certificate. Therefore, there is a problem such thatmanufacturing is done as needed only after the apparatus requiring thereplacing component becomes known, which imposes an extremelyinefficient production system.

Moreover, there is a problem such that as components cannot be suppliedspeedily, the apparatus needs to be kept for a certain period in a stateof not being able to successfully perform an authentication processaccording to the SSL, making it impossible to maintain, during theperiod of replacing a component, a secure communications channel for theapparatus.

While it is possible to have separately stored the public-keycertificate and the private key after replacing the component, in astate without such stored information, successful performing of theauthentication process according to the SSL cannot be done, makingimpossible the maintaining of a secure communications route for theapparatus having replaced a component. Thus, in order to securelydistribute a new public-key certificate, etc., there is a need to storeit in a recording medium so as to be sent by post to an installationsite of the apparatus or brought by a representative servicing thereplacing of the component. However, even in having this recordingmedium ready, there is a problem that is the same as in the case ofcomponent manufacturing as described above.

Furthermore, in order to prevent a disguising, etc. of an apparatus, forthe digital certificate, there is a need to prevent a malicious userreplacing, reading or registering, and a need to prevent a general userfrom updating a digital certificate, making difficult the confirming ofprivileges when manually setting the digital certificate.

DISCLOSURE OF THE INVENTION

Accordingly, it is a general object of the present invention to providea technology for communicating that substantially obviates one or moreproblems caused by the limitations and disadvantages of the related art.

It is a more particular object of the present invention to provide acommunications apparatus, a communications system, and a method ofsetting a certificate that enable, while maintaining security, even whenthere arises a need to replace a component for storing a certificateneeded for an authentication, recovering to the state of being able toperform a successful authentication easily and speedily.

According to the invention, an apparatus for communicating includescommunicating means that is enabled to communicate with communicationscounterparties via the communicating means, wherein the communicatingmeans, including means for providing an individual certificate that is adigital certificate being provided with information identifying theapparatus for communicating in order to receive an authentication by thecommunications counterparty when communicating, is means forcommunicating when having been authenticated with the individualcertificate by the communications counterparty, and the apparatus forcommunicating further includes a storage area for storing the individualcertificate and a common certificate that is a digital certificate notbeing provided with apparatus-identifying information, in a replacementcomponent as a minimum unit enabled for replacement.

The apparatus for communicating in an embodiment of the inventionenables, while maintaining security, even when there arises a need toreplace a component for storing a certificate needed for anauthentication, recovering to the state of being able to perform asuccessful authentication easily and speedily.

According to another aspect of the invention, a system for communicatingincludes a high-level apparatus and low-level apparatuses to becommunications counterparties of the high-level apparatus, wherein thelow-level apparatus includes means for providing an individualcertificate that is a digital certificate being provided withinformation identifying the low-level apparatus in order to receive anauthentication by the communications counterparty when communicating,and includes communicating means for communicating when having beenauthenticated with the individual certificate by the communicationscounterparty, and the low-level apparatus further includes a storagearea for storing the individual certificate and a storage area forstoring a common certificate that is a digital certificate not beingprovided with apparatus-identifying information in a replacementcomponent as a minimum unit enabled for replacement.

The system for communicating in an embodiment of the invention enables,while maintaining security, even when there arises a need to replace acomponent for storing a certificate needed for an authentication,recovering to the state of being able to perform a successfulauthentication easily and speedily.

According to yet another aspect of the invention, a method of setting acertificate for setting, in an apparatus for communicating includingcommunicating means enabled to communicate with communicationscounterparties via the communicating means, an individual certificatethat is a digital certificate being provided with informationidentifying the apparatus for communicating, includes the steps ofinstalling in the apparatus for communicating a replacement component asa minimum unit enabled for replacement having been provided with astorage area for storing the individual certificate and a storage areafor storing a common certificate that is a digital certificate not beingprovided with apparatus-identifying information, in the state of havingthe common certificate to be stored and not having the individualcertificate to be stored, and having the apparatus for communicating, toprovide the common certificate in order to receive an authentication bythe communications counterparties when communicating and to obtain viathe communicating means the individual certificate from thecommunications counterparty so as to have the obtained individualcertificate stored in the storage area for storing the individualcertificate when having been authenticated with the common certificateby the communications counterparty.

The method of setting a certificate in an embodiment of the inventionenables, while maintaining security, even when there arises a need toreplace a component for storing a certificate needed for anauthentication, recovering to the state of being able to perform asuccessful authentication easily and speedily.

BRIEF DESCRIPTION OF THE DRAWINGS

Other objects, features, and advantages of the present invention willbecome more apparent from the following detailed description when readin conjunction with the accompanying drawings, in which:

FIG. 1 is a block diagram illustrating a configuration of an embodimentof a communications system according to this invention;

FIG. 2 is a block diagram illustrating hardware configurations of ahigh-level apparatus and a low-level apparatus as illustrated in FIG. 1;

FIG. 3 is a functional block diagram illustrating a functionalcomposition of a portion related to remote control and setting of acertificate of the high-level apparatus and low-level apparatus in FIG.2;

FIG. 4 is a table illustrating determining criteria on whether toexecute an operation in a request manager as illustrated in FIG. 3;

FIG. 5 is a schematic diagram for describing an overview of a method ofcommunicating between the high-level apparatus and the low-levelapparatus in the communications system as illustrated in FIG. 1;

FIG. 6A is a diagram for describing authentication information which isstored by the low-level apparatus as illustrated in FIG. 1;

FIG. 6B is a diagram for describing authentication information which isstored by the high-level apparatus as illustrated in FIG. 1;

FIG. 7 is a diagram illustrating an example of information included inan individual public-key certificate for a low-level apparatus asillustrated in FIG. 6;

FIG. 8 is a sequence diagram for describing a configuration for thehigh-level apparatus and the low-level apparatus as illustrated in FIG.1 making proper use of the individual public-key certificate and acommon public-key certificate;

FIG. 9A is a diagram for describing a configuration of replacementcomponents providing storage areas for certificates and its problem, ina comparative example of the embodiment as illustrated in FIG. 1, etc.;

FIG. 9B is another diagram for describing the configuration of thereplacement components providing the storage areas for the certificatesand its problem, in another comparative example of the embodiment asillustrated in FIG. 1, etc.;

FIG. 9C is yet another diagram for describing the configuration of thereplacement components providing the storage areas for the certificatesand its problem, in yet another comparative example of the embodiment asillustrated in FIG. 1, etc.;

FIG. 10A is a diagram for describing a configuration of a replacementcomponent providing storage areas for certificates and its advantages,in the low-level apparatus as described in FIG. 1;

FIG. 10B is another diagram for describing the configuration of thereplacement component providing the storage areas for the certificatesand its advantages, in the low-level apparatus as described in FIG. 1;

FIG. 10C is yet another diagram for describing the configuration of thereplacement component providing the storage areas for the certificatesand its advantages, in the low-level apparatus as described in FIG. 1;

FIG. 11 is a diagram illustrating an overview of a component A asillustrated in FIG. 10 and a manufacturing process of the lower-levelapparatus being equipped with the component A;

FIG. 12 is a diagram for describing steps of having each certificate setto be stored in the component A;

FIG. 13 is a flowchart illustrating a process of executing at thelow-level apparatus side when writing an individual certificate set intothe low-level apparatus in the steps as illustrated in FIG. 12;

FIG. 14 is a diagram illustrating an overview of a facility for use insetting into the low-level apparatus the individual certificate set in aproduct assembly step as illustrated in FIGS. 11 and 12.

FIG. 15 is a diagram illustrating an overview of the state of thesurroundings of a communications terminal and a certificate write-inapparatus as illustrated in FIG. 14, in a production plant;

FIG. 16 is a diagram illustrating an example of a rating plate formounting when assigning an identification number to an apparatus havingpassed a functional test;

FIG. 17 is a diagram for describing a configuration when multiplelow-level apparatuses are provided, for the communications system asillustrated in FIG. 1;

FIG. 18 is a diagram illustrating a flowchart of a process for executingin each apparatus when two communications apparatuses perform a mutualauthentication according to the SSL, together with information for usein the process;

FIG. 19A is a diagram for describing a relationship among a root key, aprivate root-key, and a public-key certificate in the authenticationprocess illustrated in FIG. 18;

FIG. 19B is another diagram for describing a relationship among theprivate root-key, the root key, and a root-key certificate in theauthentication process illustrated in FIG. 18; and

FIG. 20 is a diagram corresponding to FIG. 18, illustrating a processfor executing in each apparatus when two apparatuses perform a one-wayauthentication according to the SSL.

BEST MODE FOR CARRYING OUT THE INVENTION

Descriptions are given next, with reference to the accompanyingdrawings, of a preferred embodiment of the present invention.

First, a configuration of an embodiment of a communications apparatusaccording to the invention and an embodiment of a communications systemof the invention that is configured using the communications apparatusis described.

FIG. 1 is a block diagram illustrating a configuration of thecommunications system.

The communications system, as illustrated in FIG. 1, is configured witha high-level apparatus 10 and a low-level apparatus 20, each of which isprovided with communicating means, that are connected via a network 30.Then, the low-level apparatus 20 is the embodiment of the communicationsapparatus of the invention. Moreover, the high-level apparatus 10 isalso a communications apparatus provided with a communications functionand becomes a communications counterparty of the low-level apparatus 20.

As for the network 30, which may be wired or wireless, variouscommunications circuits (communications routes), enabling building ofthe network, may be adopted. Moreover, herein while only one low-levelapparatus 20 is illustrated, it is possible to provide multiplelow-level apparatuses 20 within the communications system as illustratedin FIG. 17.

For such a communications system, first hardware configurations of thehigh-level apparatus 10 and the low-level apparatus 20 are described. Asimplified illustration of the hardware configurations of the high-levelapparatus 10 and the low-level apparatus 20 is such as illustrated inFIG. 2.

As illustrated in FIG. 2, the high-level apparatus 10 is provided with aCPU 11, a ROM 12, a RAM 13, a HDD 14, and a communications interface(I/F) 15, which are connected with a system bus 16. Then, the CPU 11executing various control programs being stored in the ROM 12 and theHDD 14 controls an operation of the high-level apparatus 10, andimplements functions of authenticating the communications counterpartyand updating of a digital certificate of the low-level apparatus 20,etc. It is noted in the description that the digital certificate denotesdigital data having been provided with a signature in order to preventcounterfeiting.

The low-level apparatus 20, in the same manner as the high-levelapparatus 10, is provided with a CPU 21, a ROM 22, a RAM 23, a HDD 24,and a communications interface (I/F) 25, which are connected with asystem bus 26. The CPU 21 executing as needed various control programsbeing stored in the ROM 22 and the HDD 24, and performing control of theapparatuses, enables implementing of functions as various means such ascommunicating means, individual certificate setting means, etc.

It is noted that, in the communications system, it is a matter of coursethat various configurations may be adopted depending on objectives ofremote control or electronic commerce, etc. Then, as hardware for thehigh-level apparatus 10 and the low-level apparatus 20, a known computermodel as appropriate may be adopted. It is a matter of course that otherhardware may be added as needed so that it is not necessary for thehigh-level apparatus 10 and the low-level apparatus 20 to have the sameconfiguration.

Next, as a portion related to the features of the embodiment out of thecommunications system, a functional configuration of a portion relatedto setting of a certificate of the high-level apparatus 10 and low-levelapparatus 20 is illustrated in FIG. 3. The functions in the high-levelapparatus 10 are implemented by the CPU 11 of the high-level apparatus10 executing required control programs being stored in the ROM 12 andthe HDD 14, while the functions in the low-level apparatus 20 areimplemented by the CPU 21 of the low-level apparatus 20 executingrequired control programs being stored in the ROM 22 and the HDD 24,etc.

As illustrated in FIG. 3, the high-level apparatus 10 is provided with aHTTPS (Hyper Text Transfer Protocol Security) client-function unit 31, aHTTPS server-function unit 32, an authentication processor 33, acertificate-update requesting unit 34, and a certificate storage unit35.

The HTTPS client-function unit 31 has a function of using a HTTPSprotocol including authentication and encrypting processes according tothe SSL to request communications with another apparatus, having a HTTPSserver function, such as the low-level apparatus 20, etc., andtransmitting to a communications counterparty a request (a command) anddata so as to have an operation depending on the request and the dataexecuted.

On the other hand, the HTTPS server-function unit 32 has a function ofaccepting a communications request using the HTTPS protocol from theother apparatus having the HTTPS client function, receiving from theother apparatus the request and the data so as to have each unit of theapparatus execute depending on the received request and data, andreturning the executed outcome as a response to the requester.

The authentication processor 33 has a function of authentication meansfor performing authentication process using the digital certificatereceived from the communications counterparty when the HTTPSclient-function unit 31 and the HTTPS server-function unit 32authenticate the communications counterparty, and various certificatesand private keys, etc., being stored in the certificate storage unit 35.Moreover, it has also a function of transmitting to the communicationscounterparty via the HTTPS client-function unit 31 and the HTTPSserver-function unit 32 the digital certificate being stored in thecertificate storage unit 35 for requesting authentication with thecommunications counterparty.

The certificate-update requesting unit 34 as described below has afunction of transmitting an individual certificate to the communicationscounterparty of the low-level apparatus 20, etc., in predetermined casesso as to request that the transmitted certificate be stored. It is notedthat information needed for a certificate-managing apparatus (CA)external to the communications system is transmitted so as to have thecertificate transmitted herein issued.

The certificate-storage unit 35 has a function of storing authenticationinformation such as various certificates and private keys, etc., andmaking the information available for the authentication process in theauthentication processor 33. Types of these various certificates andprivate keys, and their uses and methods of being generated aredescribed in detail below.

On the other hand, in the low-level apparatus 20, a HTTPSclient-function unit 41, a HTTPS server-function unit 42, anauthentication processor 43, a request manager 44, a certificate-storageunit 45, a state reporter 46, a log reporter 47, a certificate settingunit 48, and a command receiver 49 are provided.

The HTTPS client-function unit 41 in the same manner as the HTTPSclient-function unit 31 of the high-level apparatus 10 has a function ofrequesting communications with another apparatus, having the HTTPSserver-function, such as the high-level apparatus 10, etc., using theHTTPS protocol, and having an operation depending on the request and thedata transmitted executed.

The HTTPS server-function unit 42 also in the same manner as the HTTPSserver-function unit 32 of the high-level apparatus 10 has a function ofaccepting a communications request from another apparatus having a HTTPSclient function, having each unit of the apparatus execute an operationdepending on the received request and data, and returning a response tothe requester.

The function of the authentication processor 43 is also the same as thatof the authentication processor 33 of the high-level apparatus 10, whilethe certificate, etc., for use in the authentication process is onebeing stored in the certificate storage section 45.

The request manager 44 has a function of determining, for a requestreceived from a high-level apparatus, whether to execute an operationbased on the request. Then, it also has a function of passing on anoperating request to the functional units 46 through 49 for executing anoperation based on the request, when allowing the execution.

FIG. 4 illustrates the determining criteria on whether to execute asdescribed above, the determining criteria being the types of requestsand the types of digital certificates used in the authentication processin the authentication processor 43. As described in detail below, thedigital certificate being stored in the high-level apparatus 10 and thelow-level apparatus 20 may be one of an individual public-keycertificate that is an individual certificate and that is a public-keycertificate being provided with information identifying the apparatus(the own apparatus), and a common public-key certificate that is acommon certificate and a public-key certificate not being provided withinformation identifying the apparatus, such that the request manager 44,as illustrated in FIG. 3, allows all operations when having performed anauthentication process with the individual certificate, while it allowsonly an operation of setting a certificate when having performed anauthentication process with the common certificate. Thus, the commoncertificate is a certificate for use only when having a new individualcertificate to be stored in the low-level apparatus 20.

The certificate storage unit 45 in the same manner as the certificatestorage section 35 of the high-level apparatus has a function ofcertificate-storing means for storing authentication information such asvarious certificates and private keys, etc., and making the storedinformation available to the authentication process in theauthentication processor 33. It is noted that the certificates, etc.,being stored are different from those in the authentication manager 33as described below.

The state reporter 46 has a function of performing a call for reportingthe state of the low-level apparatus 20 to the high-level apparatus 10when an error is detected or when there is a user instruction. Thereport may be transmitted as a response to an inquiry from thehigh-level apparatus 10 or communications may be requested from theHTTPS client-function unit 41 to the high-level apparatus 10 so as totransmit the report.

The log reporter 47 has a function of reporting a log from the low-levelapparatus 20 to the high-level apparatus 10. The contents of thereporting may be an operations log of the low-level apparatus 20, aswell as for example, the counted value in a image-forming sheet counterfor an image-forming apparatus, and for a measuring system, the measuredvalue, etc. As the reporting is not required urgently, it may betransmitted as a response to an inquiry from the high-level apparatus10.

The certificate-setting unit 48 has a function of individual certificatesetting means for setting and updating the certificate, etc., beingstored in the certificate storage unit 45 with an individual public-keycertificate as described below received from the high-level apparatus10.

The command receiver 49 has a function of executing an operationcorresponding to a request related to a function other than thefunctions of each of the functional units 46 through 48 as describedabove. The operation includes, for example, transmitting data beingstored in the low-level apparatus 20, and controlling an operation of anengine unit as needed. It is noted that the state reporter 46 and thelog reporter 47 are illustrated as specific examples of functions beingprovided by the command receiver 49, so that providing such functions isnot mandatory.

Next, a method of communicating between the high-level apparatus 10 andthe low-level apparatus 20 in the communications system is described.FIG. 5 is a diagram for describing an overview of the method of thecommunicating.

In the communications system, the high-level apparatus 10, when tryingto communicate with the low-level apparatus 20, first requestscommunications with the low-level apparatus 20. Then, when havingauthenticated the low-level apparatus 20 as a valid communicationscounterparty with an authentication process according to the SSLprotocol such as described above using FIG. 18 or FIG. 20, thecommunications are established with the low-level apparatus 20. Thisauthentication process is known as a SSL handshake. It is noted that amutual authentication as illustrated in FIG. 18 is not mandatory so thata one-way authentication such as illustrated in FIG. 20 may be used.

In this process, as a first step the low-level apparatus 20 transmitsown public-key certificate to the high-level apparatus 10, so as toreceive authentication. Then, when performing mutual authentication, asa second step the high-level apparatus 10 also transmits to thelow-level apparatus 20 its own public-key certificate so as to receiveauthentication, while for one-way authentication the second step is notperformed.

Once the authentication as described above succeeds, the high-levelapparatus 10 generates a request, that is a process command for anapplication-program method being implemented in the low-level apparatus20, as a SOAP message 60 being written in a XML format that is astructured-language format and transmits the request according to theHTTP (Hyper Text Transfer Protocol) as a HTTP request to the low-levelapparatus 20. Such a request is called a RPC (Remote Procedure Call).

Then, the low-level apparatus 20 executes a process according to thecontents of this request, generates the executed outcome as a responseSOAP message 70, and transmits the message as a HTTP response to thehigh-level apparatus 10. Herein, these requests and responses areencrypted using a common key shared in the SSL-handshake process,maintaining security of the communications.

Moreover, with these requests and responses, the communications systemfunctions as a client-server system with the high-level apparatus 10 asa client and the low-level apparatus 20 as a server. It is noted thatthere may be a case in reverse such that the low-level apparatus 20requests communications with the high-level apparatus 10, functioning asa client-server system with the low-level apparatus 20 as a client andthe high-level apparatus 10 as a server.

Furthermore, for implementing the RPC, the technologies as describedabove as well as known protocols (communications standards),technologies and specifications such as FTP (File Transfer Protocol),COM (Component Object Model), and CORBA (Common Object Request BrokerArchitecture) may be used.

Next, characteristics and uses of certificates and keys that areauthentication information for use by the high-level apparatus 10 andthe low-level apparatus 20 in the authentication process as describedabove are described. FIG. 6A is a diagram illustrating the types ofcertificates and keys being stored as the authentication information bythe low-level apparatus 20 and FIG. 6B is a diagram illustrating thetypes of certificates and keys being stored as the authenticationinformation by the high-level apparatus 10.

The high-level apparatus 10 and the low-level apparatus 20 asillustrated in FIG. 6, store information largely classified intoindividual authentication information and common authenticationinformation. Then for each apparatus, each of the individual and commonauthentication information is respectively configured with a public-keycertificate and a private key that are own-authentication information,and with a root-key certificate that is authentication informationregarding the communications counterparty.

Moreover, for example, the individual public-key certificate for thelow-level apparatus is an individual certificate and is a digitalcertificate that is an individual public key issued to the low-levelapparatus 20 by a Certificate Authority (CA) (not shown) having beenprovided with a digital signature enabled to confirm the validity usingthe individual root-key for the low-level apparatus authentication.

FIG. 7 illustrates an example of information included in an individualpublic-key certificate for a low-level apparatus, wherein thecertificate includes, in bibliographical information, machine serialnumber information of the low-level apparatus 20 as informationidentifying the low-level apparatus 20 that is a subject of issuance.Furthermore, information on machine type number and registered user,etc., of the low-level apparatus 20 may be included.

It is noted that while including machine serial number information inthe identifying information provided in the public-key certificate isnot mandatory, herein the same information as the machine serial numberinformation is included in the identifying information so as to respondto a demand when operating a communications system. In other words, whenthe communications system is used for managing the apparatus, aspecifying of the apparatus is often performed with machine serialnumber information, while when the identifying information does notinclude the machine serial number information, a need arises such that acorresponding relationship between identifying information and machineserial number information is separately managed as a table, etc., at thehigh-level apparatus 10 side. Then, when performing such managing, aneed arises to add data to every newly produced low-level apparatus 20;since the number of the low-level apparatuses 20 may become several tensof thousands, several hundreds of thousands or even more, a need arisesto manage a very large amount of data, causing a great managementburden.

However, having to include in the identifying information provided tothe public-key certificate the same information as the machine serialnumber information enables directly specifying the machine serial numberof the counterparty in a authentication process. Thus, in this way,there is no longer a need to manage the corresponding relationshipbetween identifying information provided to a public-key certificate andmachine serial number, thereby reducing the managing burden.

Moreover, returning to the description of FIG. 6, the individualprivate-key for the low-level apparatus is a private key correspondingto the individual public-key, while the individual root-key certificatefor the high-level apparatus is a digital certificate having provided anindividual root-key for the high-level apparatus with a digitalsignature enabled to confirm own validity using a private root-keycorresponding to the individual root-key. Even when multiple low-levelapparatuses 20 are provided, the individual public-key of each apparatususes the same private root-key to provide the digital signature, so thatthe individual root-key certificates needed for confirming validity aremade to be common. However, the individual public-key included in theindividual public-key certificate and its corresponding private keydiffer from apparatus to apparatus. Herein, these individual public-keycertificate, individual private-key and individual root-key certificateare collectively called an individual-certificate set.

The individual public-key certificate for the high-level apparatus, theindividual private-key for the high-level apparatus, and the individualroot-key certificate for the high-level apparatus authentication alsohave a relationship similar to the relationship as described above.

Then, for example, when the high-level apparatus 10 and the low-levelapparatus 20 use individual-authentication information to perform mutualauthentication, in response to a communications request from thehigh-level apparatus 10, the low-level apparatus 20 transmits to thehigh-level apparatus 10 a first random number encrypted using theindividual private-key for the low-level apparatus together with theindividual public-key certificate for the low-level apparatus. At thehigh-level apparatus 10 side, using the individual root-key certificatefor the low-level apparatus authentication, first the validity (nothaving been damaged or manipulated) of the individual public-keycertificate for the low-level apparatus is confirmed, and when this isconfirmed the first random number is decrypted with the public keyincluded therein. When this decrypting is successful, the high-levelapparatus 10 can recognize that the low-level apparatus 20 of thecommunications counterparty is surely a subject of the individualpublic-key certificate for the low-level apparatus, enabling specifyingthe apparatus from identifying information included in the certificate.Then, depending on whether the specified apparatus is suitable as acommunications counterparty by determining success or failure ofauthentication is enabled.

Then, at the low-level apparatus 20 side, a similar authentication maybe performed using an individual public-key certificate for thehigh-level apparatus being transmitted when authentication succeeds atthe high-level apparatus 10 side, and a root-key certificate for thehigh-level apparatus authentication, having stored a received randomnumber having been encrypted with an individual private-key for thehigh-level apparatus.

Now, these public-key certificate and private key are to be stored innon-volatile storage means, enabled for rewriting, such as a flashmemory configuring the ROM 22 or the RAM 23. Thus, as described above,when replacing a component including such storage means, the public-keycertificate and private key being stored end up being dropped togetherwith the old component having been fetched. Then in such a case, inorder to enable authentication again using an individual public-keycertificate, there is a need to have the fetched certificate and keystored again.

Herein, assuming that each apparatus can only perform authenticationusing an individual public-key certificate, in a state such that thisauthentication cannot be performed, there is no method of transmitting anew individual public-key certificate, etc., to a subject apparatussecurely via the network 30. However, each apparatus configuring thecommunications system of the embodiment has common authenticationinformation stored in order to deal with such a situation, so that usingthe stored information enables securely transmitting to a desiredapparatus a new individual public-key certificate, etc., via the network30.

The common authentication information generally has the sameconfiguration as the individual authentication information. For example,the common public-key certificate for the low-level apparatus is acommon certificate, and is a digital certificate that contains a commonpublic-key issued by the CA to the low-level apparatus having beenprovided with a digital signature enabled to confirm the validity usinga common root-key for the high-level apparatus, while the commonprivate-key for the high-level apparatus is a private key correspondingto the common public-key, and the common root-key certificate for thelow-level apparatus authentication is a digital certificate thatcontains the common root-key for the low-level apparatus having beenprovided with a digital signature enabled to confirm the validity usingthe own one. Then, the common public-key certificate and commonprivate-key and common root-key certificate are to be collectivelycalled a common certificate set. The same holds for the commonauthentication information to be stored at the high-level apparatus side10.

However, the point that differs largely from individual authenticationinformation is that, in the bibliographical information of the commonpublic-key certificate, information identifying the apparatus is notincluded, enabling the same common public-key certificate to be storedin apparatuses of the same level (In an example illustrated in FIGS. 1and 17, the levels of the high-level apparatus and the low-levelapparatus are to exist). In this case, there is no need to distinguishindividually apparatuses of the same level, having entirely common onesfor all, including the common public-key included in certificates andits corresponding common private-key. Then, as the common public-keycertificates of the communications counterparties are identical, theroot-key certificates become common for all apparatuses to be thecommunications counterparties for an apparatus of a certain level. Inother words, even when providing multiple low-level apparatuses 20, thesame common authentication information is stored in all low-levelapparatuses 20.

This is also the same for the common authentication information of thehigh-level apparatus 10.

It is noted that, when standardizing the data format with the individualpublic-key certificate, providing “0” as the serial machine number in aformat as illustrated in FIG. 7 so as to indicate it as a commonpublic-key certificate, etc., is also possible.

Such common authentication information may be stored uniformly as aninformation item corresponding to a level determined depending on themachine type of the apparatus in which the component is to be installed,at the time of manufacturing a component provided with a storage areafor a certificate, in view of a characteristic that the commonauthentication information may be set to be common for all theapparatuses of the same level. Then such common authenticationinformation stored in advance in a component enables being able toauthenticate using a common public-key certificate included in thecommon authentication information stored in a new component, even when acomponent is replaced so that there is no longer any individualauthentication information within the apparatus. Moreover, for acomponent having stored such common authentication information and nothaving stored individual authentication information, as apparatusidentifying information is not needed at the time of manufacturing,producing a component able to use commonly without depending on theapparatus identifying information is enabled. Thus, having a componentin stock enables a rapid response when there arises a need forreplacing.

Herein, as the common public-key certificate is not provided withapparatus identifying information, performing authentication using acommon public-key certificate specifically identifying the apparatus ofthe communications counterparty is not possible. However, it is possibleto obtain information on the communications counterparty to a certainextent.

In other words, for example, a certain vendor has stored commoncertificate sets for the low-level apparatus in all apparatusesapplicable as a low-level apparatus 20 out of own products and hasstored common certificate sets for the high-level apparatus in allapparatuses applicable as a high-level apparatus 10 to be thecommunications counterparty. When the authentication is successful, thelow-level apparatus 20 is enabled to recognize that a counterpartyhaving transmitted a public-key certificate enabled to confirm thevalidity with a common root-key certificate for the high-level apparatusauthentication being stored in the own one is the high-level apparatus10 of the same vendor. Conversely, the high-level apparatus 10 is alsoenabled to recognize that a counterparty having transmitted a public-keycertificate enabled to confirm the validity with a common root-keycertificate for the low-level apparatus authentication being stored inthe own one is the low-level apparatus 20 of the same vendor.

Thus, determining to a certain extent whether an apparatus requesting orhaving requested communications is a suitable apparatus as acommunications counterparty is enabled even when identifying informationcannot be referred to.

Then, when such authentication succeeds, as described above,establishing with the communications counterparty a securecommunications route using common-key encryption by having shared acommon key is enabled, also making possible specifying thecommunications counterparty by subsequently exchanging machine serialnumber information.

It is to be noted that, in the authentication information as illustratedin FIG. 6, the same individual root-key certificate may be usedregardless of the subject of the authentication (for example, theindividual root-key certificate for the high-level apparatusauthentication and the individual root-key certificate for the low-levelapparatus authentication may be the same one). This is because as theindividual public-key certificate is provided with apparatus-identifyinginformation, when the validity can be confirmed using the root-keycertificate, it is possible thereafter to refer to the identifyinginformation so as to specify the machine type and the level of theapparatus. On the other hand, as the common certificate is not providedwith the apparatus-identifying information, the distinguishing of thetype is performed according to whether the validity can be confirmedwith a specific root-key certificate. Therefore, the common root-keycertificate may be set to be different per group of authenticationsubjects to be distinguished.

Now, the low-level apparatus 20 functioning as a server, for a SSLhandshake, cannot identify counterparties having requestedcommunications, so that basically the same public-key certificates aretransmitted to all counterparties. However, in this communicationssystem, making proper use of the individual public-key certificate andthe common public-key depending on the situation is needed. Thus, next aconfiguration for making such proper use is described using FIG. 8.

In the SSL protocol, as it is not possible at the time of acommunications request from a client for a server to know the state ofthe client, inevitably when a specific URL (Uniform Resource Locator) isaccessed the same public-key certificate is always provided. Thusbasically, it is not possible to assume a configuration such as havingmultiple individual public-key certificates, nor to select anappropriate one according to the type of the individual root-keycertificate that the communications counterparty has. However, whenaddresses accpeting the communications request differ, it is possible toreturn a different public-key certificate per address. This address maybe determined for example with the URL.

Thus herein, as illustrated in FIG. 8, the high-level apparatus 10 andthe low-level apparatus 20 are respectively provided with a normal URLfor performing authentication with an individual public-key certificateand a rescue URL for performing authentication with a common public-keycertificate, so that the side requesting the communications (the sidefunctioning as the client) selectively designates either of the URLsdepending on the type of the desired authentication so as to send acommunications request. The URLs changing an IP address or a port number(either one suffices) enables handling as URLs of logically differentapparatuses, even for URLs of physically the same apparatus. In otherwords, this is for implementing a function of a so-called virtualserver.

In such a case, the side being requested to communicate (the sidefunctioning as the server) being enabled to distinguish between thecertificates to be returned with the URL having accepted thecommunications request, returns the individual public-key certificatewhen accepted at the normal URL, and returns the common public-keycertificate when accepted at the rescue URL.

It is noted that, at the client side requesting the communications,where the URL to which the communications request is sent is known,performing mutual authentication selecting an appropriate public-keycertificate depending on the URL so as to be transmitted is enabled.

Thus, in this communications system, while basically performingauthentication using an individual public-key certificate between thehigh-level apparatus 10 and the low-level apparatus 20, even when thecertificate has been dropped due to replacing a component, performingauthentication using a common public-key certificate after a newcomponent is installed and maintaining a secure communications route areenabled. This is because sharing the common key is possible in the samemanner as the individual public-key certificate, even for authenticationusing the common public-key certificate. Then, using the communicationsroute to transmit from the high-level apparatus 10 to the low-levelapparatus 20 individual authentication information for setting so as tobe stored, enables recovering again the state of being able toauthenticate using individual authentication information.

Moreover, even for authentication using a common public-key certificate,as described above it is possible to specify the apparatus of thecounterparty to some extent, putting a limit such as, for example,transmitting the individual certificate only to apparatuses manufacturedinhouse, making it possible to prevent transmitting an individualcertificate to an invalid apparatus.

As described above, in this communications system, by using commonauthentication information in addition to individual authenticationinformation, even when a need arises to replace a component storing acertificate necessary for authentication, recovering to the state ofbeing able to perform a successful authentication easily and speedily isenabled.

It is noted that while all of the authentication information itemsillustrated in FIG. 6 need to be stored when the high-level apparatus 10and the low-level apparatus 20 perform mutual authentication, some ofthe certificates, etc., need not be stored when only one-wayauthentication such as when the low-level apparatus 20 functions as aserver and the high-level apparatus 10 authenticates the low-levelapparatus 20 is performed. For both individual authenticationinformation and common authentication information, in the low-levelapparatus 20, the root-key certificate for the high-level apparatus isnot needed and, in the high-level apparatus 10, the public-keycertificate for the high-level apparatus and the private key for thehigh-level apparatus are not needed.

Next, hardware being provided with a storage area for storing theauthentication information as described above, in the low-levelapparatus 20 and the high-level apparatus 10, is described.

In the low-level apparatus 20 and the high-level apparatus 10, from adesign point of view, such storage area may be provided anywhere as longas the storage area is in a non-volatile recording medium (it is notedthat preferably an area for storing an individual-certificate set isprovided in a rewritable recording medium). For example, in thelow-level apparatus 20, a recording area for recording anindividual-certificate set may be provided in the RAM 23, and arecording area for recording a common-certificate set may be provided inthe ROM 22.

However, when a storage area for an individual-certificate set and astorage area for a common-certificate set are respectively provided incomponents that may be replaced separately, the following problem mayarise. The problem is described using FIGS. 9A through 9C. FIGS. 9Athrough 9C are diagrams for describing, in comparative examples of theembodiment, configurations of replacement components providing storageareas for certificates and their problems.

As a comparative example, as illustrated in FIG. 9A, a configuration isconsidered such that a component X and a component Y that may bereplaced separately are respectively provided with anindividual-certificate set storage-area and a common-certificate setstorage-area. Then, in this case, for the component X, as at the time ofmanufacturing normally the machine serial number of a subject apparatusfor installing is not known, an individual certificate cannot be madeready so that the manufacturing is done at the state of not havingstored the individual certificate set. On the other hand, for thecomponent Y, the machine type and the level of the subject apparatus forthe installing can be specified at the time of manufacturing, enablingmanufacturing at the state of having stored in advance acommon-certificate set suitable for the machine type and the level.

Then, when in a low-level apparatus 20′ a component X and a component Yare damaged, etc., so that these are replaced (the same holds when onlythe component X is replaced), as illustrated in FIG. 9B, in thelow-level apparatus 20′, the state is such that only acommon-certificate set is stored and an individual-certificate set isnot stored. In this state, when the high-level apparatus 10authenticates the low-level apparatus 20″ with an authentication processusing a common public-key certificate for the low-level apparatusincluded in the common-certificate set, the individual-certificate setis transmitted to the low-level apparatus 20′ for having to set into theindividual-certificate set storage-area. Thereafter authenticating usingan individual public-key certificate for the low-level apparatusincluded in the individual-certificate set is enabled.

However, as illustrated in FIG. 9C, when subsequently removing acomponent X from the low-level apparatus so as to install a falsecomponent X′ having a storage area similar to the component X, in thesame manner as in FIG. 9B, with only a common-certificate set beingstored in a low-level apparatus 20′, the high-level apparatus 10 againtransmits an individual-certificate set to the low-level apparatus 20 soas to have the set stored. Then, the component itself providing astorage area for a certificate is often a component that has a highdegree of general use, such as a memory card, etc., so that often it iseasy to obtain a false component X′ enabled to provide a storage areasimilar to one in a normal component X. Thus, repeated replacing usingfalse components may cause a problem such that the user obtains a largenumber of false components X′, having stored normalindividual-certificate sets, which may possibly be abused fordisguising, etc. It is noted that as long as a normal one is used for acomponent Y, a problem similar to one as described above may arise evenwhen no normal components X are used at all.

Next, configurations of the embodiment and the advantages are describedusing FIGS. 10A through 10C. FIGS. 10A through 10C are diagrams fordescribing configurations of replacement components providing storageareas for certificates and the advantages, in the low-level apparatus20.

In the low-level apparatus 20 of the embodiment, in order to resolve theproblems as described above, as illustrated in FIG. 10A, in a mannerdifferent from the configuration of the comparative example asillustrated in FIG. 9A, both a storage area for storing anindividual-certificate set and a storage area for storing acommon-certificate set are provided on a replacement component as aminimum unit enabled for replacing. However, even when assuming such aconfiguration, the characteristic of a certificate does not change sothat in the same manner as in FIG. 9A, the component A is manufacturedat the state of having stored in advance only the common-certificateset, and not having stored the individual-certificate set.

Herein, when in the low-level apparatus 20 a component A is damaged,etc., so that it is replaced, as illustrated in FIG. 10B, in thelow-level apparatus 20, only the common-certificate set is stored andthe individual-certificate set is not stored. Then, in the same manneras in FIG. 9B, when the high-level apparatus 10 authenticates thelow-level apparatus 20 with an authentication process using a commonpublic-key certificate for the low-level apparatus, theindividual-certificate set is transmitted to the low-level apparatus 20so as to be set, enabling authentication using the individual public-keycertificate for the low-level apparatus.

However, thereafter as illustrated in FIG. 10C even when a component Ais removed from the low-level apparatus so as to install a falsecomponent A′ having the same storage area as the component A, the falsecomponent A′ does not have stored a valid common-certificate set. Thisis because a vendor other than a valid vendor does not know a validcommon-certificate set, making impossible the manufacturing of the falsecomponent A′ having stored a valid common-certificate set. Thus, in amanner different from the case in FIG. 9C, the low-level apparatus 20cannot receive authentication by the high-level apparatus 10, preventingthe high-level apparatus 10 from transmitting to the low-level apparatusthe individual-certificate set. Thus, even when configuring thecomponent A with a component with a high degree of general use ashardware, preventing an individual-certificate set from being setinvalidly in a false component A′ is enabled.

When removing the component A so as to replace it with another normalcomponent A, a new individual-certificate set would be stored therein.With a normal component A, it is possible for the vendor side to controldistribution so that the components A are not supplied to the user inexcess of the number of the components A needed.

In this communications system, adopting a configuration such asdescribed above enables preventing the invalid obtaining of anindividual certificate, and reducing the danger of disguising, etc., soas to maintain a high degree of security of communications.

It is noted that a replacement component as a minimum unit enabled forreplacement herein denotes a component needing replacing of all of itsportions, when replacing a component enabled for replacement, by meansof a user task or an on-site maintenance task, etc., by a servicingrepresentative. For example, a memory card or a memory unit providedwith a flash memory or a NVRAM, etc., configuring the ROM 22 or the RAM23, or a CPU board, etc., having mounted the CPU 21 as well as arewritable non-volatile memory is possible. However, even thoughmultiple memory chips are mounted on the CPU board and these areindividually replaceable by using special facilities at a plant, etc.,when it is normally not possible to replace them by means of a user taskor an on-site maintenance task, etc., by the servicing representative,they would not be denoted as replaceable ones.

Next, a component A having been provided with a storage area for acertificate set as described above and a manufacturing process of thelower-level apparatus 20 having the component A installed are described.

First, an overview of the manufacturing process is illustrated in FIG.11. In FIG. 11, mainly a portion related to setting of a certificate setis illustrated, so that other portions are largely simplified forillustration.

As illustrated in FIG. 11, when manufacturing the low-level apparatus20, first, in a component manufacturing step a component A having beenprovided with a storage area for a certificate set is manufactured. Inthe step as described above, the component A is assembled, inspected,and then by means of a plant software copying apparatus 130 acommon-certificate set for the low-level apparatus 20 is written in. Atthis time, it is not possible to provide a secure communications routevia a network between the software copying apparatus 130 and thecomponent A. The impact of having leaked a common certificate set isgreater than that of having leaked an individual certificate set, sothat writing is performed directly using a dedicated jig. Moreover, atthis time, software items for use in controlling the low-level apparatus20 may be written in at the same time.

As described above, the component A is completed so that when having tobe distributed as a component it is packed for shipping.

Herein, the common-certificate set is determined depending on themachine type and the level of an apparatus into which the component A isto be installed so that the set may be stored in advance in the softwarecopying apparatus 130. Moreover, when the component A is a standardizedmemory card, etc., assembly may not be needed.

On the other hand, when using the component A for manufacturing thelow-level apparatus 20, the component having written in acommon-certificate set is passed on to a product-assembly step forinstalling in a main body of the low-level apparatus 20 in assembly.Then, after the assembly of the low-level apparatus 20 is completed, afunctional test is performed and a machine serial number is assigned toan apparatus having passed the test. Then, an individual-certificate sethaving included the machine serial number as apparatus-identifyinginformation in an individual public-key certificate is stored in thelow-level apparatus 20 with a certificate write-in apparatus 160, andapparatus machine serial number information and initial set values arealso stored in this step. Then, a visual inspection is performed,followed by packing and shipping.

With the steps as described above, the low-level apparatus 20 may bemanufactured. Moreover, while the common-certificate set to be storeddiffers, manufacturing may be possible with the same steps also for thehigh-level apparatus 10. It is noted that often thecomponent-manufacturing step and the product-assembly step are performedin different plants.

Moreover, in FIG. 12, a diagram for describing steps of having to storeeach certificate set in the component A is illustrated.

As illustrated in FIG. 12, in the component A in thecomponent-manufacturing step only the common-certificate set is storedso that the individual-certificate set is not stored. Then in thisstate, in the product-assembly step, a component enabled to be used foreither one of a component for use in assembly of a new apparatus and areplacement component (a servicing part) for a commercially-soldapparatus is completed.

Then, when the component A is installed in the apparatus in theproduct-assembly step in an apparatus-assembly plant, after theapparatus passes an inspection and is assigned a machine serial number,an individual-certificate set is written in with the certificatewrite-in apparatus 160. At this time, the machine serial number of asubject apparatus for write-in is input from a machine serial numberinformation input apparatus 161 to the certificate write-in apparatus160, and the certificate write-in apparatus 160 obtains anindividual-certificate set having included the machine serial numberinformation as identifying information for writing in. Theindividual-certificate set is one that is issued by thecertificate-managing apparatus 50 that is a CA for managing theindividual certificates.

It is to be noted that at this time once the certificate write-inapparatus 160 and the lower-level apparatus 20 are connected, acommunications request is made from the certificate write-in apparatus160 to a rescue URL of the low-level apparatus 20, and an authenticationprocess is performed according to the SSL using a common-certificate setbeing stored in the low-level apparatus 20. Then, when the certificatewrite-in apparatus 160 authenticates that the low-level apparatus 20 isvalid, a certificate-setting request together with anindividual-certificate set is transmitted so as to be written in anindividual-certificate set storage area of the component A.

Herein, a process of executing at the low-level apparatus 20 side whenwriting in an individual-certificate set is illustrated in a flowchartin FIG. 13.

When a communications counterparty of the low-level apparatus 20 hassent a communications request to a rescue URL, a process illustrated inthe flowchart in FIG. 13 is started.

In this process, first in Step S201, in order to receive authenticationby the communications counterparty (herein the certificate write-inapparatus 160) a common public-key certificate for the low-levelapparatus together with a first random number encrypted with a commonprivate-key for the low-level apparatus is transmitted. This processcorresponds to the process of Steps S21 and S22 in FIG. 20.

The communications party once receiving the certificate and the randomnumber transmitted by the low-level apparatus 20 performs anauthentication process using the received information and returns theoutcome of the authentication as a response. Moreover, when theauthentication is successful, a common-key seed is transmitted to thelow-level apparatus 20 and a common key is generated for use insubsequent communications. In the authentication herein a commonroot-key certificate for the low-level apparatus is used, this processcorresponding to the process of Steps S12 through S17 in FIG. 20.

The low-level apparatus 20, once receiving this authentication outcome,determines in Step S202 whether the authentication is successful so thatwhen not successful the process is terminated as it is, whereas when itis successful the process proceeds to Step S203 so that a common key isgenerated, using the common-key seed received, for use in subsequentcommunications. These processes correspond to the process in Steps S25through S26 in FIG. 16.

Then, in Step S204 the process waits for receiving a request and oncereceiving the request the process proceeds to Step S205. Then, asdescribed using FIG. 4, the request manager 44 of the low-levelapparatus 20 only when having performed authentication using a commonpublic-key certificate allows a certificate-setting operation, so thatin Step S205 whether the request received is a certificate-settingrequest is determined. Then, when not the certificate-setting request,the request is ignored, returning to Step S204 for a waiting the nextrequest. Herein, a response that a request cannot be accepted may bereturned.

In Step S205, for a certificate-setting request, the process proceeds toStep S206 so that a certificate set received (obtained from thecommunications counterparty) together with the certificate-settingrequest is stored in an individual-certificate set storage area of thecomponent A so as to set the individual-certificate set as illustratedin FIG. 6A with the stored contents. In this process, the CPU 21 of thelow-level apparatus 20 functions as individual-certificate settingmeans.

Then, in Step S207 the set outcome is reported to the source as aresponse so as to terminate the process.

The low-level apparatus 20 executing such a process enables thecertificate write-in apparatus 160 to perform at least a minimum levelof confirming that the low-level apparatus 20 is a subject of writing inthe individual-certificate set, enabling preventing of a situation suchthat an individual-certificate set is erroneously transmitted to anentirely different apparatus.

Moreover, a common-certificate set may also be stored at the certificatewrite-in apparatus 160 side so that a mutual authentication is performedwith the low-level apparatus 20 in the authentication process. Thecommon-certificate set used herein becomes the same as one stored in thehigh-level apparatus 10 so that the authentication process at thelow-level apparatus 20 side also corresponds to the process asillustrated in FIG. 18. Then, in this way, even at the low-levelapparatus 20 side, it is possible to make sure not to set anindividual-certificate set having been sent from an invalid certificatewrite-in apparatus.

Then, for a communications request, it is possible that thecommunications request is made from the low-level apparatus 20 side tothe certificate write-in apparatus 160. Even in this case, thecertificate write-in apparatus 160 and the low-level apparatus 20performing an authentication process using a common public-keycertificate and, when it is successful, the certificate write-inapparatus 160 transmitting to the low-level apparatus 20 an individualcertificate so as to be set, is the same as in the process as describedabove.

On the other hand, in FIG. 12 when the component A is shipped as areplacement component and is installed in a low-level apparatus 20 inoperation at an installed site, the individual-certificate set iswritten in by the high-level apparatus 10 corresponding to the low-levelapparatus 20. Then, a machine serial number of a subject apparatus ofwriting in is input from the machine serial number information inputapparatus 171 to the high-level apparatus 10, the high-level apparatus10 causes the certificate-managing apparatus 50 to issue anindividual-certificate set having included the machine serial numberinformation as identifying information, and obtains the issued set forhaving the low-level apparatus 20 to set. The identifying information,such as the machine serial number, of the low-level apparatus 20 may betransmitted from the low-level apparatus 20 to the high-level apparatus10 depending on the request from the high-level apparatus 10.

It is noted that at this time a communications request is made from thehigh-level apparatus 10 to a rescue URL of the low-level apparatus 20,and an authentication process is performed according to the SSL, using acommon-certificate set being stored in the low-level apparatus 20. Then,when the high-level apparatus 10 authenticates that the low-levelapparatus 20 is a valid apparatus, an individual-certificate set istransmitted so as to be set in an individual-certificate set storagearea of the component A. In this case, the process performed at thelow-level apparatus 20 side is the same as one illustrated in FIG. 13.As a matter of course, it is possible to perform mutual authentication.While the advantages of what is described above are the same as a caseof writing in with the certificate write-in apparatus 160, it can besaid that the demand for improving the level of security is greater fora case after shipment wherein it is not known as to which apparatus aconnection is made to, than for a case within a plant with limitedsubjects for the connection.

Moreover, enabling making a communications request from the low-levelapparatus 20 to the high-level apparatus 10 is the same as in the caseof writing in with the certificate write-in apparatus 160.

As apparent from the descriptions above, for the low-level apparatus 20,having to store an individual public-key certificate in a processidentical for the time of manufacturing at the plant and for the time ofreplacing a component commercially is enabled.

As described using FIGS. 6 and 7, in the low-level apparatus 20configuring this communications system, an individual public-keycertificate having been provided with the machine serial numberinformation as apparatus-identifying information is stored. On the otherhand, there is a demand that the serial machine number is to be providedfor an apparatus having completed assembly and having passed afunctional test. This is because providing the machine serial numberbefore the test causes the machine serial number of an apparatus havingfailed the test to be a missing number, and the existence of such amissing number inconveniences subsequent product management efforts.

Thus, having to store a public-key certificate having been provided withthe machine serial number information as apparatus-identifyinginformation in the apparatus manufacturing step, while fulfilling thedemand as described above, would inevitably be performed at the statesuch that all assembly steps have been completed. Then, in such a state,it is preferable to have the certificate stored via an interface beingprovided in the low-level apparatus 20 and being used normally than tohave it stored using a special interface (a dedicated jig) as in thecase of the common-certificate set. This is because, due to design orfunctional constraints, it is difficult to provide an end connection ofthe special interface in a position or a configuration such that it iseasy to perform the tasks.

The low-level apparatus 20 described herein, enabled to write in anindividual-certificate set via a network, enables, even after completionof the apparatus assembly, connecting to the certificate write-inapparatus 160 via a network-cable connecting interface being provided inthe apparatus and performing a task of writing in theindividual-certificate set. Thus, performing the task efficiently isenabled and the probability of causing damage, etc., in the apparatusduring the tasks is extremely low. Moreover, in the write-in stepencrypting of communications is enabled, enabling having theindividual-certificate set to be stored in a secure manner.

It is noted that as the individual certificate and the commoncertificate differ in use and function, as illustrated in FIG. 12, thesecertificates preferably are issued by different CAs.

In other words, as the common certificate has the same one stored intoall apparatuses of the same level, when there is a leakage of a commonroot-key, maintaining security becomes extremely difficult so that therearises a need to maintain especially strict privacy. On the other hand,there is no need to generate an individually different certificate perapparatus so as to have the certificate stored. Thus, placing primeimportance on security, a CA that is unable to be accessed from outsidemay be used.

On the other hand, as the individual certificate may be updated asneeded, even when there is a leakage of an individual root-key, updatingthe certificate enables maintaining security. Then, as there is a needto individually generate a certificate per apparatus so as to have thecertificate stored, a CA being connected to an open network such as theInternet may be used.

It is to be noted that CAs may be further classified according to thelevel of the subject apparatus of issuance of certificate, such as a CAfor issuing a certificate for the low-level apparatus, and a CA forissuing a certificate for the high-level apparatus.

Moreover, it is possible to use a digital certificate having an entirelydifferent format for an individual certificate and for a commoncertificate.

Next, a facility for use in setting into the low-level apparatus 20 anindividual-certificate set in the product-assembly step as describedabove is described. FIG. 14 is a block diagram illustrating the overviewconfiguration.

As illustrated in FIG. 14, in a production plant E for performing theproduct-assembly step, as a facility for setting anindividual-certificate set, a production management system 140, acommunications terminal 150, and a certificate write-in apparatus 160are provided.

Then, the production management system 140 manages the number of unitsproduced day-to-day of an apparatus such as the high-level apparatus 10and the low-level apparatus 20.

The communications terminal 150 is provided with a certificate database(DB) 154 a, an input apparatus 156, and a display apparatus 157. Then,from the production management system 140 information on the number ofunits produced per machine type for the day and machine serial number tobe assigned (herein information including machine-type code and serialnumber) is obtained. Moreover, based on the information, thecertificate-managing apparatus 50 that is a CA for issuing an individualpublic-key certificate is made to issue an individual-certificate set tobe stored in an apparatus to be produced, the issued set being obtainedso as to be stored in the certificate DB 154 a.

The certificate write-in apparatus 160, being provided with a machineserial number information input apparatus 161, accepts input of themachine serial number of the apparatus in production from the machineserial number information input apparatus 161. Then, when this is input,a certificate corresponding to the machine serial number is obtainedfrom the communications terminal 150, and the obtained certificate istransmitted to the corresponding apparatus so as to be set in anindividual-certificate set storage-area being provided in a non-volatilememory of the apparatus. When producing the low-level apparatus 20, thecertificate is set in a storage area being provided in the component A.

Next in FIG. 15 an overview of the state of the surroundings of acommunications terminal 150 and a certificate write-in apparatus 160 ina production plant E is illustrated.

In the production plant E, the communications terminal 150 is located ata control room F for security considerations. Then, the control room Fhas a door G to be locked so that only specific administrators may enterand the communications terminal 150 is enabled to be operated only whena specific ID and password are input.

Moreover in this example, the production plant E is provided with a line1001 for producing the high-level apparatus 10 and a line 1002 forproducing the low-level apparatus 20. Then, a certificate write-inapparatus 160 (160 a, 160 b) is provided for each of the lines forproducing.

Then each of the certificate write-in apparatuses 160 is respectivelyconnected to an interface 162 (162 a, 162 b) for machine serial numberinformation input for connecting to a machine serial number inputapparatus 161 (161 a, 161 b) and an interface 165 (165 a, 165 b) forwriting in for connecting to an apparatus to be produced (a high-levelapparatus 10 and a low-level apparatus 20).

In such a production line, for example when producing the low-levelapparatus 20, at the time of assigning an identification number to anapparatus having passed a functional test, a rating plate is mounted. Anexample of the rating plate illustrated in FIG. 16 is provided withinformation such as a voltage rating, and a power-consumption rating,etc., as well as a machine serial number of the apparatus. Thenfurthermore, a bar code BC indicating information on the machine serialnumber is provided.

Then, in a step of setting an individual-certificate set, first as aninterface for writing in 165 using a cross cable the certificatewrite-in apparatus 160 and a low-level apparatus 20 that is a subject ofsetting are connected. The cross cable is used because each apparatus tobe produced has the same IP address as the initial value so thatconnecting via LAN with the certificate write-in apparatus 160 wouldcause an overlapping of the IP addresses.

Next, using a bar-code reader as the machine serial number informationinput apparatus 161, the bar code BC on the rating plate is read so asto input into the certificate write-in apparatus 160 machine serialnumber information of the subject apparatus of the tasks. Then, thecertificate write-in apparatus 160 obtains a certificate correspondingto the machine serial number from the communications terminal 150,transmits the certificate to the low-level apparatus 20 being connectedvia an interface for write-in 165 so as to set the transmittedcertificate in an individual-certificate set storage area being providedin the component A of the apparatus.

The tasks and the processes as described above enable making anindividual public-key certificate having provided the machine serialnumber information as the apparatus-identifying information to be storedin simple tasks.

It is noted that, in the embodiment as described above, an example ofperforming authentication according to the SSL as described using FIGS.18 and 20, between each apparatus such as the high-level apparatus 10and the low-level apparatus 20 is described. However, the embodimentdemonstrates the advantages even when the authentication is notnecessarily performed in such a manner.

As a matter of course, the embodiment is applicable for a case ofperforming an authentication process according to the protocol TLS(Transport Layer Security), which is also known for having improved uponthe SSL.

Moreover, in the embodiment as described above, while an example ofusing an individual certificate being provided withapparatus-identifying information, and a common certificate not beingprovided with apparatus-identifying information are described, theformer may be regarded as a certificate with a high degree of securitystrength, whereas the latter may be regarded as a certificate with a lowdegree of security strength.

Generally, it may be difficult for a certificate with a high degree ofsecurity strength to be stored in all apparatuses in the same manner soas to be used in an authentication process, as there may be a need forproviding a large number of information items, or there may be exportlimitations or special authentication-process programs may be needed. Onthe other hand, a certificate with a low degree of security strength mayhave few such limitations so that it may be relatively easily stored inall apparatuses in the same manner so as to be used in theauthentication process.

Thus, there is a demand for manufacturing and marketing an apparatushaving stored a certificate with a low degree of security strength, soas to enable having to store after the fact a certificate with a highdegree of security strength depending on the usage environment. In sucha case, using a configuration of the embodiment as described above,provided with a storage area for storing a certificate with a highdegree of security strength and a storage area for storing a certificatewith a low degree of security strength, in a replacement component as aminimum unit enabled for replacement, enables preventing having acertificate with a high degree of security strength invalidly obtainedand reducing the danger of disguising, etc., so as to maintaincommunications with a high degree of security.

Moreover, while in the embodiment as described above, an example ofhaving provided a certificate-managing apparatus 50 separately from ahigh-level apparatus 10 is described, providing the apparatuses asdescribed above collectively is not prevented. In this case, componentssuch as a CPU, a ROM, a RAM, etc., for implementing the functions of thecertificate-managing apparatus 50 may be provided independently, using aCPU, a ROM, and a RAM, etc., of a high-level apparatus 10 and having theCPU to execute suitable software so as to be function as acertificate-managing apparatus 50.

In such a case, it is assumed that communications between thecertificate-managing apparatus 50 and the high-level apparatus 10 in thesame collective unit as the certificate-managing apparatus 50 includes aprocess for making the hardware to function as the certificate-managingapparatus 50, and an inter-process communications with a process formaking the hardware to function as the high-level apparatus 10.

Moreover, in the embodiment as described above, while an example of thecertificate-managing apparatus 50 itself generating a root key and adigital certificate is described, the certificate-managing apparatus 50performing dedicated management of the key and the certificate andhaving to receive a supply of the root-key and the digital certificatefrom other apparatuses so as to obtain the received key and certificateis possible.

Furthermore, in the embodiment as described above, while acommunications system is configured with only the high-level apparatus10 and the low-level apparatus 20, the configuration may be includeother apparatuses. For example, a transfer apparatus for transferringcommunications between the high-level apparatus 10 and the low-levelapparatus 20 may be provided, so that the high-level apparatus 10 andthe low-level apparatus 20 receive a request or a response via thetransfer apparatus. Alternatively a further high-level apparatus may beprovided further above the high-level apparatus 10. In this case,positioning the high-level apparatus 10 as “a low-level apparatus” andthe further high-level apparatus as “a high-level” apparatus enableshandling these apparatuses in the same manner as the embodiment asdescribed above.

Also, up to now, with image-processing apparatuses such as a printerbeing provided with a communications function, a facsimile apparatus, adigital copying machine, a scanner apparatus, a multi-functional digitalmachine, etc., being apparatuses to be controlled, a remote-controlsystem is being proposed for remote-controlling the apparatuses to becontrolled by means of a control apparatus enabled to communicate withthese apparatuses to be controlled.

For example, while an image-processing apparatus being provided withimage-forming means generally uses a photoreceptor-electrostatic processso as to perform image-forming on plain paper, in a mechanism forperforming such photoreceptor-electrostatic process, the probability oftrouble (an error) occurring is high, and furthermore due to the needfor a periodic overhaul for maintaining the quality, a servicingorganization for maintenance management is being adopted.

Then, for the purpose of reinforcing the maintenance management, aremote-control system with the image-forming apparatus as the apparatusto be managed is already being developed and operated such that acommunications apparatus is provided inside or outside the image-formingapparatus, the image-forming apparatus and a control apparatus, beinglocated in a servicing center (a control center), are connected via apublic circuit (telephone circuit), and occurrence of trouble in theimage-forming apparatus is reported to the control apparatus.

The embodiment as described above may be applicable to such aremote-control system, so that in this case, the apparatus to becontrolled may be a low-level apparatus, and a control apparatus forcontrolling the apparatus to be controlled and an apparatus locatedwithin the user environment that compiles information from multipleapparatuses to be controlled may be a high-level apparatus.

When performing remote control, specifying of the apparatus to becontrolled needs to be performed by means of communications often, asthere is no operator for the control apparatus near the apparatus to becontrolled. Then, a mechanism for guaranteeing that the apparatusspecified by means of communications is surely that apparatus is needed.Thus, as described in the embodiment, the advantages of enabling easyoperating of authentication using an individual public-key certificateare great.

It is noted that the subject of remote control is not limited to theimage-processing apparatus so that it is possible for a communicationsapparatus having provided a communications function in variouselectronic apparatuses, such as networked consumer-electronic equipment,an automated vending machine, medical equipment, a power source, an airconditioner, a measuring system for gas, water supply, or electricity,etc., an automobile, an aircraft, or a general-purpose computer, to bethe apparatus to be controlled. It is noted that, as a matter of course,the low-level apparatus 20 is not limited to the apparatus to becontrolled in the remote-control system.

The present application is based on the Japanese Priority ApplicationsNo. 2004-211396 filed on Jul. 20, 2004 and No. 2003-321762 filed on Sep.12, 2003, the entire contents of which are hereby incorporated byreference.

1. An apparatus for communicating, comprising: communicating meansenabling the apparatus to communicate with one or a plurality ofcommunications counterparties via said communicating means; wherein saidcommunicating means includes means for providing an individualcertificate that is a digital certificate being provided withinformation identifying said apparatus for communicating in order toreceive an authentication by each of said communications counterpartieswhen communicating, and means for communicating when having beenauthenticated with said individual certificate by the communicationscounterparty; and the apparatus for communicating further comprising atleast one storage area for storing said individual certificate and acommon certificate that is a digital certificate not being provided withapparatus-identifying information, in a replacement component as aminimum unit enabled for replacement.
 2. The apparatus for communicatingas claimed in claim 1, said communicating means further comprising:means for providing said common certificate in order to receive theauthentication by the communications counterparty when communicating;and the apparatus for communicating further comprisingindividual-certificate setting means for obtaining said individualcertificate from the communications counterparty via said communicatingmeans when having been authenticated by the communications counterpartywith said common certificate so as to have the obtained individualcertificate stored in said storage area.
 3. The apparatus forcommunicating as claimed in claim 2, wherein said replacement componentis a component, having stored said common certificate, and not havingstored said individual certificate, before being installed into saidapparatus for communicating.
 4. The apparatus for communicating asclaimed in claim 3, wherein said replacement component with said commoncertificate is enabled to be used without depending on the informationidentifying said apparatus for communicating.
 5. The apparatus forcommunicating as claimed in claim 1, wherein the identifying informationbeing provided in said individual certificate includes information thatis identical to machine serial number information of said apparatus forcommunicating.
 6. The apparatus for communicating as claimed in claim 1,wherein said authentication is to be performed with an authenticationprocess according to a SSL protocol or a TLS protocol, and wherein saiddigital certificate is a public-key certificate for use in theauthentication process.
 7. A system for communicating, including ahigh-level apparatus, and low-level apparatuses, each of which is to bea communications counterparty of the high-level apparatus, the low-levelapparatus comprising: means for providing an individual certificate thatis a digital certificate being provided with information identifying thelow-level apparatus in order to receive an authentication by saidcommunications counterparty when communicating; and communicating meansfor communicating when having been authenticated with said individualcertificate by said communications counterparty; and at least onestorage area for storing said individual certificate and a commoncertificate that is a digital certificate not being provided withapparatus-identifying information, in a replacement component as aminimum unit enabled for replacement.
 8. The system for communicating asclaimed in claim 7, said communicating means in the low-level apparatusfurther comprising: means for providing said common certificate in orderto receive the authentication by the communications counterparty whencommunicating; and the low-level apparatus further comprisingindividual-certificate setting means for obtaining said individualcertificate from said communications counterparty via said communicatingmeans when having been authenticated by the communications counterpartywith said common certificate so as to have the obtained individualcertificate stored in said storage area.
 9. The system for communicatingas claimed in claim 8, wherein said replacement component is acomponent, having stored said common certificate, and not having storedsaid individual certificate, before being installed into the low-levelapparatus.
 10. The system for communicating as claimed in claim 9,wherein said replacement component having stored said common certificateis enabled to be used without depending on the information identifyingsaid low-level apparatus.
 11. The system for communicating as claimed inclaim 7, wherein the identifying information being provided in saidindividual certificate includes information that is identical to machineserial number information of the low-level apparatus.
 12. The system forcommunicating as claimed in claim 7, wherein said authentication is tobe performed with an authentication process according to a SSL protocolor a TLS protocol, and wherein said digital certificate is a public-keycertificate for use in the authentication process.
 13. A method ofsetting, in an apparatus for communicating including communicating meansenabled to communicate with one or a plurality of communicationscounterparties via said communicating means, an individual certificatethat is a digital certificate being provided with informationidentifying said apparatus for communicating, comprising the steps of:installing into said apparatus for communicating a replacement componentas a minimum unit enabled for replacement having been provided with atleast a storage area for storing said individual certificate and acommon certificate that is a digital certificate not being provided withapparatus-identifying information, in the state of having said commoncertificate stored, and not having said individual certificate stored;and having said apparatus for communicating to provide said commoncertificate in order to receive an authentication by each of saidcommunications counterparties when communicating, and to obtain via saidcommunicating means said individual certificate from the communicationscounterparty so as to have the obtained individual certificate stored insaid storage area when having been authenticated with said commoncertificate by the communications counterparty.
 14. The method ofsetting the individual certificate as claimed in claim 13, wherein saidreplacement component is used, without depending on the informationidentifying said apparatus for communicating.
 15. The method of settingthe individual certificate as claimed in claim 13, wherein theidentifying information being provided in said individual certificateincludes information that is identical to machine serial numberinformation of said apparatus for communicating.
 16. The method ofsetting the individual certificate as claimed in claim 13, wherein saidauthentication is to be performed with an authentication processaccording to a SSL protocol or a TLS protocol, and wherein said digitalcertificate is a public-key certificate for use in the authenticationprocess.